package ms.unicorn.diagram.edit.helpers;

import org.eclipse.gef.EditPart;
import org.eclipse.gmf.runtime.common.core.command.ICommand;
import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;

import ms.unicorn.Element;
import ms.unicorn.Relation;
import ms.unicorn.dsl.ILanguageElement;

public class LanguageRelationAdvice extends
		LanguageElementAdvice {
	public static final String FIGURE_CONNECTION = "connection";
	
	public static final LanguageRelationAdvice DefaultInstance = new LanguageRelationAdvice();
	
	public LanguageRelationAdvice() {
		
	}
	
	public boolean checkRelationConstraints(Element container,
			Relation linkInstance, Element source, Element target) {
		return true;
	}

	@Override
	public EditPart createEditPart(EditPart context, Object model) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ICommand getCreationCommand(ILanguageElement element, CreateElementRequest req) {
		return null;
	}	
}
